<template>
  <div>
    <el-container>
      <el-aside width="200px">
        <div class="menu">
          <v-menu></v-menu>
        </div>
      </el-aside>
      <el-main style="float:left">
        <div class="main"><router-view /></div>
      </el-main>
    </el-container>
  </div>
</template>

<script>
import menu from "@/components/Menu.vue";
export default {
  methods: {
    handleOpen(key, keyPath) {
      console.log(key, keyPath);
    },
    handleClose(key, keyPath) {
      console.log(key, keyPath);
    },
  },
  components: {
    "v-menu": menu,
  },
};
</script>

<style scoped>
.menu {
  width: 194px !important;

  background-color: #f3fbfe;
  border-radius: 0.1rem;
  margin: 0 0 0 0.4rem;
  margin-bottom: 0.5rem;
  overflow-y: auto;
  overflow-x: hidden;
  display: block;
  position: relative;
  float: left;
}
.main {
  width: 100%;
  margin-left: -10px;
}
.el-aside {
    color: #333;
  }
</style>